var rem_checked = false;
$(function(){
	$(".checkboxPic").click(function(){
		$(this).toggleClass("check_unchk").toggleClass("check_chk");
		$("#remember").attr("checked",!rem_checked);
		rem_checked = !rem_checked;
	});
	
	$(".fullBtnBlue").hover(function(){
		$(this).css("background-color","#387aff");
	},function(){
        $(this).css("background-color","dodgerblue");
  });
	
	$(".mz_footer-icon").hover(function(){
	$(this).css("background-position-y","-45px");
	},function(){
        $(this).css("background-position-y","0px");
  });
});
//联网状态
function isWWW(){
	
	if (!navigator.onLine) {
		//联网成功
		$("#begin_logo").addClass("visibility-hidden");
		if (!($("#fail_logo").hasClass("visibility-hidden"))) {
			$("#fail_logo").addClass("visibility-hidden");
		}
		$("#fail_logo").removeClass("visibility-hidden");
	} else {
		//联网不成功
		$("#begin_logo").addClass("visibility-hidden");
		if (!($("#succeed_logo").hasClass("visibility-hidden"))) {
			$("#succeed_logo").addClass("visibility-hidden");
		}
		$("#succeed_logo").removeClass("visibility-hidden");
	}
}